﻿@using xConnected.Common.ExpertProfile
<div class="modal hide fade" id="AnnualRatesProfileDialog" style="display: none;" >
    <div class="modal-header">
    </div>
    <div class="modal-body" data-bind="with: workingProfileBuffer">
        <div class="row-fluid">
            <div class="control-group" data-bind="css: {'error': MonthlyRate.isValid() == false }" >
                <label class="control-label" for="MonthlyRate"><strong>@Resources.MonthlyRate </strong></label>
                <div class="controls">
                    <div class="span4">
                        <div class="input-append">
                            <input class="input-mini" data-bind="value: MonthlyRate" type="text" style="text-align: right"/>
                            <span class="add-on">€</span>
                        </div>
                    </div>
                    <span class="help-inline" data-bind="validationMessage: MonthlyRate"></span>
                </div>
            </div>
        </div>
        <div class="row-fluid">
            <div class="control-group" data-bind="css: {'error': AnnualRate.isValid() == false }" >
                <label class="control-label" for="AnnualRate"><strong>@Resources.AnnualRate </strong></label>
                <div class="controls">
                    <div class="span4" >
                        <div class="input-append">
                            <input class="input-mini" data-bind="value: AnnualRate" type="text" style="text-align: right"/>
                            <span class="add-on">€</span>
                        </div>
                    </div>
                    <span class="help-inline" data-bind="validationMessage: AnnualRate"></span>
                </div>
            </div>
        </div>
        </div>
        <div class="modal-footer">
            <a href="#" class="btn btn-small btn-info" data-bind="click: function() { $root.profile.okMonthlyAnnualRates();}"><strong>@Resources.Ok</strong></a>
            <a href="#" class="btn btn-small" data-bind="click: function() { $root.profile.cancelMonthlyAnnualRates();}"><strong>@Resources.Cancel</strong></a>
        </div>
</div>